<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
    <script>
        var str = "Ilovelvye";
        var arr = str.split("");

        document.write("数组第1 个元素是：" + arr[0] + "<br/>");
        document.write("数组第2 个元素是：" + arr[1] + "<br/>");
        document.write("数组第3 个元素是：" + arr[2]);
    </script>
</head>
<body>
</body>
</html>